package com.egov.wrdmp.reporting.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.egov.wrdmp.reporting.dao.ReportDAO;
import com.egov.wrdmp.reporting.model.Report;
import com.egov.wrdmp.reporting.service.ReportService;
import org.springframework.transaction.annotation.Transactional;
@Service
public class ReportServiceImpl implements ReportService{
	@Autowired
	private ReportDAO reportDAO;
	
	@Transactional
	public void addReport(Report report) {
		// TODO Auto-generated method stub
		reportDAO.addReport(report);
	}

	@Transactional
	public List<Report> listReport() {
		// TODO Auto-generated method stub
		return reportDAO.listReport();
	}

	@Transactional
	public void removeReport(Integer id) {
		// TODO Auto-generated method stub
		reportDAO.removeReport(id);
	}


}
